package com.egreen.user.service.api.impl;

import com.egreen.common.serviceapi.user.IJwtServiceApi;
import com.egreen.user.utils.JwtUtil;

import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class JwtServiceApi implements IJwtServiceApi {
    @Autowired
    JwtUtil jwtUtil;

    @Override
    public Object checkJwt(String jwtToken) {
        return jwtUtil.checkJwt(jwtToken);
    }
}
